# invalid rules:changes
unnecessary ref declaration:
  script: exit 0
  rules:
    - changes:
        paths:
          - README.md
        compare_to: { ref: 'main' }

wrong path declaration:
  script: exit 0
  rules:
    - changes:
      paths: { file: 'DOCKER' }

# invalid rules:if
rules-if-empty:
  rules:
    - if: